using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.DirectX.DirectInput;

namespace Zsa.Emulation.Render.Input.DxInput
{
    public class DxInputCapabilities : ControllerDeviceCapabilities
    {

        #region Constructor
        /// <summary>
        /// Initializes a new instance of the <see cref="T:DxInputCapabilities"/> class.
        /// </summary>
        public DxInputCapabilities()
            : base (1)
        {
        }
        #endregion Constructor

        #region Properties
        /// <summary>
        /// Gets the default device.
        /// </summary>
        /// <value></value>
        public override RenderDeviceItem DefaultDevice
        {
            get
            {
                return new RenderDeviceItem("None", "jj", RenderDeviceType.Input, 0);
            }
        }
        #endregion Properties

        #region Methods


        /// <summary>
        /// Creates the settings.
        /// </summary>
        /// <param name="item">The item.</param>
        /// <returns></returns>
        public override ControllerSettings CreateSettings(RenderDeviceItem item)
        {
            return new DxControllerSettings(DefaultDevice);
        }

        /// <summary>
        /// Gets the devices supported by the render.
        /// </summary>
        /// <returns></returns>
        public override IList<RenderDeviceItem> GetDevices()
        {
            return new RenderDeviceItem[0];
        }
        #endregion Methods
    }
}
